 /**
 * 子模块路由
 * dlq
 */

var router = function($urlRouterProvider, $stateProvider){
	
	
		 $stateProvider
	
		//创建游团基本信息
		.state('app.tourgroupsub', {
			url: "/tour/tourgroupsub.html",
			views: {
				'main@' : {
					template : require('./views/tourgroupsub.html'),
					controller : 'tourgroupsub',
				}
			},

			resolve:{

			}
		})
		//创建游团团期信息
		.state('app.tourbase', {
			url: "/tour/tourbase.html",
			views: {
				'main@' : {
					template : require('./views/tourbase.html'),
					controller : 'tourbase',
				}
			},

			resolve:{

			}
		})
		//创建游团价格信息
		.state('app.tourprice', {
			url: "/tour/tourprice.html",
			views: {
				'main@' : {
					template : require('./views/tourprice.html'),
					controller : 'tourprice',
				}
			},

			resolve:{

			}
		})
		//游团基本信息列表
		.state('app.tourlist', {
			url: "/tour/tourlist.html",
			views: {
				'main@' : {
					template : require('./views/tourlist.html'),
					controller : 'tourlist',
				}
			},
			resolve:{

			}
		})
		//游团基本信息详情
		.state('app.tourinfo', {
			url: "/tour/tourinfo.html",
			views: {
				'main@' : {
					template : require('./views/tourinfo.html'),
					controller : 'tourinfo',
				}
			},
			resolve:{

			}
		})
		
		//审核基本信息列表		
		.state('app.examinelist', {
			url: "/tour/examinelist.html",
			views: {
				'main@' : {
					template : require('./views/examinelist.html'),
					controller : 'examinelist',
				}
			},
			resolve:{

			}
		})
		//审核基本信息详情		
		.state('app.examineinfo', {
			url: "/tour/examineinfo.html",
			views: {
				'main@' : {
					template : require('./views/examineinfo.html'),
					controller : 'examineinfo',
				}
			},
			resolve:{

			}
		})
		//审核团期列表	
		.state('app.examinetour', {
			url: "/tour/examinetour.html",
			views: {
				'main@' : {
					template : require('./views/examinetour.html'),
					controller : 'examinetour',
				}
			},
			resolve:{

			}
		})
		//审核团期详情
		.state('app.extourinfo', {
			url: "/tour/extourinfo.html",
			views: {
				'main@' : {
					template : require('./views/extourinfo.html'),
					controller : 'extourinfo',
				}
			},
			resolve:{

			}
		})
		//审核价格列表
		.state('app.examineprice', {
			url: "/tour/examineprice.html",
			views: {
				'main@' : {
					template : require('./views/examineprice.html'),
					controller : 'examineprice',
				}
			},
			resolve:{

			}
		})
		//审核价格详情
		.state('app.expriceinfo', {
			url: "/tour/expriceinfo.html",
			views: {
				'main@' : {
					template : require('./views/expriceinfo.html'),
					controller : 'expriceinfo',
				}
			},
			resolve:{

			}
		})
		//补贴列表
		.state('app.subsidylist', {
			url: "/tour/subsidylist.html",
			views: {
				'main@' : {
					template : require('./views/subsidylist.html'),
					controller : 'subsidylist',
				}
			},
			resolve:{

			}
		})
		//补贴详情
		.state('app.subsidyinfo', {
			url: "/tour/subsidyinfo.html",
			views: {
				'main@' : {
					template : require('./views/subsidyinfo.html'),
					controller : 'subsidyinfo',
				}
			},
			resolve:{

			}
		})
		//用户补贴列表
		.state('app.user_subsidylist', {
			url: "/tour/user_subsidylist.html",
			views: {
				'main@' : {
					template : require('./views/user_subsidylist.html'),
					controller : 'user_subsidylist',
				}
			},
			resolve:{

			}
		})
	};
	
	module.exports = router;